package tv.finder.xml;

import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.List;

import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;

import android.util.Log;

public class Sky implements Parser {

	@Override
	public List<Program> parse() {
		// Get a sample file
		String data = null;
		String url = "http://guidatv.sky.it/app/guidatv/contenuti/data/grid/10_03_10/ch_101.js";
		
		HttpClient client = new DefaultHttpClient();
		HttpGet request = new HttpGet(url);
		try	{
			HttpResponse response = client.execute(request);
			Log.v("LOLLING", response.toString());
		}
		catch(Exception ex)	{
			// TODO
		}
		
		return null;
	}

}
